<?php
	
	$myDirectory = opendir(".");
	while(false !== ($entryName = readdir($myDirectory))) {
		if ($entryName != "." && $entryName != "..") {
			echo $entryName."<br>";
		}
	}